$(function  () {
	var mySwiper = new Swiper('.swiper-container',{
      loop: false,
      direction: 'vertical',
      mousewheelControl: true,
    });

	$('#downApp').on('click',function  () {
		// alert('下载');
		window.location.href="http://a.app.qq.com/o/simple.jsp?pkgname=com.lalocal.lalocal";
	})

	// 控制音乐
 	var audio = document.getElementById('audio');
   $('.img-music').click(function(){
    if ($(this).attr('value') == 1) {
        audio.pause();
        $('.img-music').attr('value','0');
        $('.img-music').removeClass('rotate');
        $('.img-music').attr('src','images/no_music.png');
    }else if ($(this).attr('value') == 0) {
        audio.play();
        $('.img-music').attr('value','1');
        $('.img-music').addClass('rotate');
        $('.img-music').attr('src','images/music.png');

    };
   })
})


